package com.imooc;

import javafx.application.Application;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@SpringBootApplication(exclude = {
        DataSourceAutoConfiguration.class //排除
})
@EnableDiscoveryClient    // 开启服务注册与发现功能
public class Gateway {

    public static void main(String[] args) {
        SpringApplication.run(Gateway.class,args);
    }

}
